package com.eco.fanliapp.admin.controller.web;


import com.eco.fanliapp.admin.common.BaseController;
import com.eco.fanliapp.common.response.ServerResponse;
import com.eco.fanliapp.service.ISyUserIntegralRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author jobob
 * @since 2019-12-24
 */
@RestController
@RequestMapping("/web/integralRecord")
public class SyUserIntegralRecordController extends BaseController {

    @Autowired
    private ISyUserIntegralRecordService syUserIntegralRecordService;

    @GetMapping("/userIntegralRecordList")
    @ResponseBody
    public ServerResponse userIntegralRecordList(@RequestParam HashMap<String,Object> params){
        return syUserIntegralRecordService.userIntegralRecordList(params);
    }



}
